package com.mockingjay;

import com.mockingjay.service.ProductService;
import com.mockingjay.service.ProductServiceImpl;
import com.mockingjay.service.UserService;
import com.spring.MockKingJayApplication;

/**
 * @author mockingjay
 * @date 2023/4/29 - 23:44
 */
public class Test {


    public static void main(String[] args) {

        MockKingJayApplication mockKingJayApplication=new MockKingJayApplication(AppConfig.class);

        UserService userService = (UserService) mockKingJayApplication.getBean("userService");

        ProductService productService = (ProductServiceImpl)mockKingJayApplication.getBean("productService");

        productService.test();
    }
}
